home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 19.zip / BS1 part 19 / Lattice C disk 4.adf / Compiler_Headers / locking.h < prev    next >
Text File  |  1988-11-07  |  371b  |  13 lines

  1. /**
  2. *
  3. * This header file defines the information needed to use the locking
  4. * function, which is a XENIX-compatible file lock mechanism.
  5. *
  6. **/
  7.  
  8. #define LK_UNLCK 0    /* unlock a region */
  9. #define LK_LOCK    1    /* lock a region */
  10. #define LK_NBLCK 2    /* non-blocking lock */
  11. #define LK_RLCK    3    /* lock a region for writing */
  12. #define LK_NBRLCK 4    /* non-blocking lock for writing */
  13.